package com.ruoyi.store.domain;

import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 sto_shop
 * 
 * @author ruoyi
 * @date 2024-11-04
 */
public class StoShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 门店名 */
    @Excel(name = "门店名")
    private String shopName;

    /** 门店状态  1营业中  0休息中 */
    @Excel(name = "门店状态  1营业中  0休息中")
    private Integer shopStatus;

    /** 门店地址 */
    @Excel(name = "门店地址")
    private String shopAddress;

    /** 营业开始时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "营业开始时间", width = 30, dateFormat = "HH:mm:ss")
    private LocalTime startTime;

    /** 营业结束时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "营业结束时间", width = 30, dateFormat = "HH:mm:ss")
    private LocalTime endTime;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopStatus(Integer shopStatus) 
    {
        this.shopStatus = shopStatus;
    }

    public Integer getShopStatus() 
    {
        return shopStatus;
    }
    public void setShopAddress(String shopAddress) 
    {
        this.shopAddress = shopAddress;
    }

    public String getShopAddress() 
    {
        return shopAddress;
    }
    public void setStartTime(LocalTime startTime) {
        this.startTime = startTime;
    }

    public LocalTime getStartTime() {
        return startTime;
    }

    public void setEndTime(LocalTime endTime) {
        this.endTime = endTime;
    }

    public LocalTime getEndTime() {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopName", getShopName())
            .append("shopStatus", getShopStatus())
            .append("shopAddress", getShopAddress())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
